
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


:root {
  --unite-bg-glass: rgba(0, 0, 0, 0.12);
  --unite-border: rgba(255, 255, 255, 0.2);
  --unite-text: #ffffff;
  --unite-muted: rgba(255,255,255,0.72);
  --unite-accent: #00bcd4;
  --unite-warm: #f19408;
}


body {
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;

  color: var(--unite-text);

  background:
    
    url("../../Assets/bg2.png")
    no-repeat center center fixed;

  background-size: cover;
}


a {
  text-decoration: none;
  color: inherit;
}


ul {
  list-style: none;
}


.container {
  width: min(1800px, calc(100% - 40px));
  margin: auto;
}


.header {
  width: 100%;
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 74px;
}

.logo h2 {
  color: white;
  font-size: 1.7rem;
}


.nav-menu {
  display: flex;
  gap: 22px;
}

.nav-menu a {
  color: white;
  font-weight: 600;
  transition: 0.2s;
}

.nav-menu a:hover {
  color: var(--unite-accent);
}


.tool-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 80px;
}


.tool-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;

  margin-bottom: 24px;
}

.tool-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tool-icon {
  width: 58px;
  height: 58px;

  padding: 10px;

  border-radius: 14px;

  background: var(--unite-bg-glass);

  border: 1px solid var(--unite-border);

  backdrop-filter: blur(10px);
}

.tool-kicker {
  color: var(--unite-muted);

  font-size: 0.9rem;

  font-weight: 700;

  text-transform: uppercase;
}

.tool-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);

  line-height: 1.1;
}

.tool-description {
  max-width: 420px;

  text-align: right;

  color: var(--unite-muted);
}


.converter-panel {
  display: grid;

  grid-template-columns: 320px 1fr;

  gap: 20px;

  padding: 24px;

  border-radius: 18px;

  border: 1px solid var(--unite-border);

  background: var(--unite-bg-glass);

  backdrop-filter: blur(10px);
}


.drop-zone {
  display: grid;

  place-items: center;

  align-content: center;

  gap: 10px;

  min-height: 360px;

  padding: 28px;

  border-radius: 14px;

  border: 2px dashed rgba(255,255,255,0.25);

  background: rgba(0,0,0,0.2);

  text-align: center;
}

.drop-icon {
  display: grid;

  place-items: center;

  width: 86px;
  height: 86px;

  border-radius: 18px;

  background: white;

  color: black;

  font-size: 1.2rem;

  font-weight: 800;
}


.preview-panel {
  display: grid;
  gap: 16px;
}

.preview-frame {
  padding: 24px;

  border-radius: 14px;

  border: 1px solid var(--unite-border);

  background: rgba(0,0,0,0.22);
}


.converter-box {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--unite-muted);

  font-weight: 600;
}

.converter-box input,
.converter-box select {
  width: 100%;

  min-height: 50px;

  padding: 0 14px;

  border: 1px solid var(--unite-border);

  border-radius: 10px;

  outline: none;

  color: white;

  background: rgba(0,0,0,0.35);

  font: inherit;
}

.converter-box input::placeholder {
  color: rgba(255,255,255,0.45);
}

.converter-box input:focus,
.converter-box select:focus {
  border-color: var(--unite-accent);
}


.primary-action {
  min-height: 48px;

  border: none;

  border-radius: 10px;

  background: white;

  color: black;

  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;
}

.primary-action:hover {
  background: var(--unite-warm);
}


.file-info {
  display: grid;
  gap: 12px;
}

.file-info div {
  display: grid;

  grid-template-columns: 100px 1fr;

  gap: 12px;

  padding: 12px;

  border-radius: 10px;

  background: rgba(0,0,0,0.25);
}

.file-info dt {
  color: var(--unite-muted);
}

.file-info dd {
  font-weight: 700;

  word-break: break-word;
}


.footer {
  padding: 22px;

  text-align: center;

  background: rgba(0,0,0,0.75);

  color: rgba(255,255,255,0.7);
}


@media (max-width: 860px) {

  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tool-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-description {
    text-align: left;
  }

  .converter-panel {
    grid-template-columns: 1fr;
  }

}